﻿using System.Collections.Generic;
using Yun.Interface;
using Yun.Response;

namespace Yun.Trade.Request
{
    /// <summary>
    /// 申请平台介入给予协调
    /// yun.site.refund.coordinate
    /// </summary>
    public class ApplyRefundCoordinateRequest : ITopRequest<IntResultResponse>
    {
        /// <summary>
        /// 退款ID
        /// </summary>
        public int RefundId { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }


        /// <summary>
        /// 图片,多个用英文逗号分隔
        /// </summary>
        public string Images { get; set; }


        public string GetApiName()
        {
            return "yun.site.refund.coordinate";
        }

        public IDictionary<string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                {"refundid",RefundId},
                {"images",Images},
                {"remark",Remark}
            };
            return parameters;
        }

        public void Validate()
        {
        }
    }
}
